package com.wonder.framework.aws.service;


import com.wonder.common.common.AjaxResult;
import com.wonder.framework.aws.vo.AwsS3ObjectVO;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface AwsS3Service {
    String upload(MultipartFile file);

    String upload(String bucket, MultipartFile file);

    AjaxResult<Object> download(String bucket, String key);

    AjaxResult<Object> delete(String bucket, List<AwsS3ObjectVO> keyList);
}
